﻿/******************************************************************
** 文件名:T106_GoodClassStockPropertyEntity.cs
** Copyright (c) 
** 创建人:佟礼
** 日 期:2012-07-10 17:40:14
** 描 述:数据库实体类
********************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using Enter.Config;
using System.ComponentModel;
namespace Enter.Entity
{
    /// <summary>
    /// 实体类T106_GoodClassStockPropertyEntity 
    /// </summary>
    public class T106_GoodClassStockPropertyEntity
    {
        /// <summary>
        /// T106_GoodClassStockProperty构造函数
        /// </summary>
        public T106_GoodClassStockPropertyEntity()
        { }
       
        public enum EnumProType : byte
        {
            //0 颜色 1 尺码

            /// <summary>
            /// 颜色
            /// </summary>
            [Description("颜色")]
            Color = 0,
            /// <summary>
            /// 尺码
            /// </summary>
            [Description("尺码")]
            Size
        }
        /// <summary>
        /// ID
        /// </summary>
        public int PID
        { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string PNo
        { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string PName
        { get; set; }
        /// <summary>
        /// 颜色编码
        /// </summary>
        public string Color
        { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string icon
        { get; set; }
        /// <summary>
        /// 属性名
        /// </summary>
        public string ParentNO
        { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Descr
        { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public EnumStatus Status
        { get; set; }
        /// <summary>
        /// 0 颜色 1 尺码
        /// </summary>
        public EnumProType ProType
        { get; set; }
        /// <summary>
        /// 必填
        /// </summary>
        public bool IsRequired
        { get; set; }
    }
}
